<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/4/27 0027
 * Time: 16:42
 */

namespace app\api\controller\v1;
use app\api\model\Theme as ThemeModel;
use app\common\lib\exception\ApiException;
use app\api\service\UserToken;


class Token
{
    public function getToken($code='')
    {
        $token = new UserToken($code);

        return $token->get();
    }
}